package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.banquet.*;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.List;
import java.util.Map;

public class UserBanquetJoinBussiness {

    public static Map<Long, List<UserBanquetJoin>> getUserBanquetJoin() {
        return DaoHelper.getUserBanquetJoinDaoImpl().getUserBanquetJoinMap();
    }

    public static boolean addUserBanquetJoin(UserBanquetJoin data) {
        return DaoHelper.getUserBanquetJoinDaoImpl().add(data);
    }

    public static boolean updateUserBanquetJoin(UserBanquetJoin data) {
        return DaoHelper.getUserBanquetJoinDaoImpl().update(data);
    }

}
